#ifndef BUDGET_EDIT_H
#define BUDGET_EDIT_H

#include <QMainWindow>
#include"budget.h"
#include"db_class.h"

namespace Ui {
    class Budget_edit;
}

class Budget_edit : public QMainWindow
{
    Q_OBJECT

public:
    explicit Budget_edit(QString label,QWidget *parent = 0);
    ~Budget_edit();

private:
    Ui::Budget_edit *ui;
    QString account;
    db_class db;

    double old_budget;
private slots:
    void on_save_button_clicked();
    void back();
};

#endif // BUDGET_EDIT_H
